package cn.tedu.eshihui.preload;


import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;

/**
 * 缓存预热类
 *
 * @author java@tedu.cn
 * @version 0.0.1
 * @deprecated 0.0.1 log.debug("开始执行CachePreload.run()");
 *
 *         brandRedisRepository.deleteAll();
 *
 *         List<BrandListItemVO> list=brandMapper.list();
 *         brandRedisRepository.save(list);
 */
@Slf4j
@Deprecated
// @Component
public class CachePreload implements ApplicationRunner {


    @Override
    public void run(ApplicationArguments args) throws Exception {

    }
}
